package model.webService;

public enum Command 
{	
	//Log into the server
    Login,
    //Logout of the server
    Logout,
    //get a specific snippet by sending the id along in the message var
    getSnippet,
    //subscribe to a snippet, when it changes values it will tell all his subscribers to update.
    Subscribe,
    //call that only clients can get, this command is sent when a snippet has changed its values and needs to tell his subscribers about it.
    ReceiveUpdate,
    //when you want to unsubscribe to a specific snippet  (or multiple? maybe different command later)
    Unsubscribe,
    //When the application starts up, return all the locations and IDs of the snippets.
    AllSnippets,
}
